<!DOCTYPE html>
<html lang="en" xmlns:v-bind="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <link rel="stylesheet" href="../../css/bootstrap.min.css">
    <link rel="stylesheet" href="../../css/font-awesome.min.css">
    <link rel="stylesheet" href="../../plugins/jqgrid/ui.jqgrid-bootstrap.css">
    <link rel="stylesheet" href="../../plugins/ztree/css/metroStyle/metroStyle.css">
    <link rel="stylesheet" href="../../css/main.css">
    <script src="../../libs/jquery.min.js"></script>
    <script src="../../plugins/layer/layer.js"></script>
    <script src="../../libs/bootstrap.min.js"></script>
    <script src="../../libs/vue.min.js"></script>
    <script src="../../plugins/jqgrid/grid.locale-cn.js"></script>
    <script src="../../plugins/jqgrid/jquery.jqGrid.min.js"></script>
    <script src="../../plugins/ztree/jquery.ztree.all.min.js"></script>
    <script src="../../js/common.js"></script>
    <script src="../../js/echarts.js"></script>
    <script src="../../libs/My97DatePicker/4.8/WdatePicker.js"></script>
</head>
<body>
<div id="rrapp" v-cloak>
    <div class="row">
<div class="form-group">
    <div class="col-sm-1 control-label">教师：</div>
    <div class="col-sm-3">
        <input type="text" class="form-control" style="cursor:pointer;" v-model="teacher.name" @click="teacherTree" readonly="readonly" placeholder="请选择老师"/>
    </div>
    <a class="btn btn-default" @click="query">查询</a>
</div>
    <!-- 选择菜单 -->
    <div id="menuLayer" style="display: none;padding:10px;">
        <ul id="teacherTree" class="ztree"></ul>
    </div>
</div>
    <div class="row">
            <div class="form-group col-sm-2 set-paddingLeft">
                <input type="text" class="form-control" onfocus="WdatePicker()" id="startDate" name="startDate" placeholder="开始时间"/>
            </div>
            <div class="form-group col-sm-2">
                <input type="text" class="form-control" onfocus="WdatePicker()" id="endDate" name="endDate"  placeholder="结束时间"/>
            </div>
            <div class="btn-container">
                <span  class="normal-btn normal-color" onclick="setDate('1')">今日</span>
                <span  class="normal-btn normal-color" onclick="setDate('2')">本周</span>
                <span  class="normal-btn normal-color" onclick="setDate('3')">本月</span>
            </div>

            </div>
</div>

<!-- 图表区域 -->
<div class="row">
    <!--教师出勤情况-->
    <div class="form-group col-sm-4">
        <div id="teacherAttendancePie" style="width: 400px;height:400px;float:left;"></div>
    </div>
    <!--授课时长-->
    <div class="form-group col-sm-8">
        <div id="teacherEvaltionTimeLine" style="width: 800px;height:400px;float:left;"></div>
    </div>
</div><div class="row">
    <!--教学进度符合率-->
    <div class="form-group col-sm-4">
        <div id="teacherEvaltionPieRate" style="width: 400px;height:400px;float:left;"></div>
    </div>
    <!--评教情况-->
    <div class="form-group col-sm-8">

        <div id="teacherEvaltionBar" style="width: 800px;height:400px;float:left;"></div>
    </div>
</div>

<div class="row">
   <!-- 评教饼状图-->
    <div class="form-group col-sm-4">
        <div id="teacherEvaltionPie" style="width: 400px;height:400px;float:left;"></div>
    </div>
    <!--评教柱状图，分类别-->
    <div class="form-group col-sm-8">
        <div id="teacherEvaltionRateBar" style="width: 800px;height:400px;float:left;"></div>
    </div>
</div>



<script src="../../js/modules/echarts/teacher_portrait.js"></script>
</body>
</html>